package com.ea.admin.pojo.param.account;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class EditCompanyPermissionParam {
    @ApiModelProperty(value = "管理员的id-主键", required = true)
    @NotBlank(message = "管理员的id不能为空")
    private String accountId;

    @ApiModelProperty("管理员的单位权限列表")
    List<String> companyPermissionList;
}
